#include "Goto.h"


Goto::Goto(Expr *_dest, int _ln)
    :destExpr(_dest), Stmt(_ln)
{
}


Goto::~Goto(void)
{
    delete destExpr;
}

int Goto::Eval()
{
    return destExpr->EvalInt();
}
